%ul#settings
  - settings.each do |setting|
    %li{ :class => cycle('odd', 'even') }
      %span.name
        = setting.name
      &raquo;
      %span.sub-text= setting.value
      &raquo;
      %span.sub-text
        - used_in = setting.buckets.collect { |b| link_to(b.name, bucket_url(b)) }.join(", ")
        = used_in.empty? ? "global" : used_in
      .action
        = link_to('delete', setting_url(setting), :method => :delete)

- reset_cycle

= will_paginate(@settings)